wayland: Push NULL buffer when hiding a GdkWindow
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 19 Jan 2017 15:07:13 +0000 (16:07 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 19 Jan 2017 15:18:54 +0000 (16:18 +0100)
commit6beb0b91c91dd4a018b0fe2c39f5687a00938821
tree1c8c9157e71b01bac765653dde4e46ba84b7975e
parent94ae322f65dc01ac545652baf2bdef93345af7b2
wayland: Push NULL buffer when hiding a GdkWindow

This is how windows are meant to be hidden as per the wayland
protocol, there's no need to destroy the xdg_surface and other
interfaces.

Also, rename gdk_wayland_window_hide_surface() to clear_surface(),
as that's what it does.

https://bugzilla.gnome.org/show_bug.cgi?id=773686
gdk/wayland/gdkwindow-wayland.c